package com.muyu.danmo.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;


/**
 * 培训班相关照片对象 danmo_training_information_picture
 *
 * @author yangle
 * @date 2024-10-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoTrainingInformationPicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 培训班id */
    @Excel(name = "培训班id")
    private Long trainingInformationId;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String pictureName;

    /** 详情 */
    @Excel(name = "详情")
    private String description;

    /** 培训班详情信息 */
    private List<DanmoTrainingInformation> danmoTrainingInformationList;

//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setTrainingInformationId(Long trainingInformationId)
//    {
//        this.trainingInformationId = trainingInformationId;
//    }
//
//    public Long getTrainingInformationId()
//    {
//        return trainingInformationId;
//    }
//    public void setPictureName(String pictureName)
//    {
//        this.pictureName = pictureName;
//    }
//
//    public String getPictureName()
//    {
//        return pictureName;
//    }
//    public void setDescription(String description)
//    {
//        this.description = description;
//    }
//
//    public String getDescription()
//    {
//        return description;
//    }
//
//    public List<DanmoTrainingInformation> getDanmoTrainingInformationList()
//    {
//        return danmoTrainingInformationList;
//    }
//
//    public void setDanmoTrainingInformationList(List<DanmoTrainingInformation> danmoTrainingInformationList)
//    {
//        this.danmoTrainingInformationList = danmoTrainingInformationList;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trainingInformationId", getTrainingInformationId())
            .append("pictureName", getPictureName())
            .append("description", getDescription())
            .append("danmoTrainingInformationList", getDanmoTrainingInformationList())
            .toString();
    }
}
